Release 10.1A: OpenEdge Getting Started:
Installation and Configuration
UNIX environment variables
This section describes the operating system-specific environment variables on a UNIX operating system.
For information about setting environment variables related to OpenEdge AppServer, OpenEdge WebSpeed, an OpenEdge DataServer, or the OpenEdge Adapter for SonicMQ, see OpenEdge Application Server: Administration , OpenEdge Application Server: Developing WebSpeed Applications , OpenEdge Data Management: DataServer for Microsoft SQL Server . OpenEdge Data Management: DataServer for ORACLE , or OpenEdge Data Management: DataServer for ODBC .
After installation, OpenEdge requires little additional configuration. There are, however, several environment variables that provide for customization and flexibility. For example, the
PATHenvironment variable allows scripts and images to be found easily, and is the only environment variable needed by most UNIX users.Typically, the default values of OpenEdge environment variables are based on the
DLCtop-level variable. If so,DLCmust be set to the directory where OpenEdge is installed.Running the
Proenvscript setsDLCto this directory automatically.Proenvalso adds$DLC/binto your path and changes your current directory to the OpenEdge work directory set during installation.You can edit the
.profileof a user to set up environment variables automatically each time the user logs onto the system. Also, be sure to export environment variables to make them available to child processes.This section describes the purpose of each environment variable. Usage with the Bourne shell is given, yet other shells use similar syntax.
Table 8–1 describes the UNIX environment variables. Read these descriptions to determine the variables you want to set.
Notes: $DLCis an environment variable for the full pathname of the directory where OpenEdge is installed. You can runProenvto automatically setDLCto this directory.
If you want to use a remote DataServer, you must set additional environment variables depending on the type of DataServer you want to use (for example, ORACLE or ODBC). See the DataServer documentation for more information on the other variables set.
When you first execute an OpenEdge command or utility that requires Java, OpenEdge correctly sets the Java environment variables based on your UNIX platform.
Table 8–1: UNIX environment variables Variable Description Code exampleDLC The pathname of the directory where you installed the OpenEdge software. The default value is/usr/dlc. You must set this variable if you install the OpenEdge software in an alternate directory.DLC=/usr/dlcPATH A list of the directories UNIX searches to find any commands that you provide. OpenEdge also searches these directories for UNIX commands or programs you name when using theINPUTTHROUGHandOUTPUTTHROUGHstatements:Note: If during installation you chose yes to copy scripts to
- Include
$DLC/binin thePATHenvironment variable. To keep end users out of the/DLCdirectory, you can provide scripts to perform all OpenEdge-related actions. These scripts can reside somewhere else in thePATHand invoke OpenEdge commands with full pathnames. Place your startup, shutdown, and maintenance scripts somewhere in the path directories.- Include
$JAVAHOME/binin thePATHenvironment variable. This value must be set to ensure that the installation can detect a java installation because the java executable is located in the$JAVAHOME/bin./usr/bin, ensure thatPATHis set to/usr/bin:PATH=:/usr/bin.PATH=$PATH:$DLC/binPATH=$JAVAHOME/binPROCFG The filename (or full pathname) of your product’s configuration file. The configuration file is a data file that identifies the OpenEdge product and components that you are licensed to use. The default value is$DLC/progress.cfg. ResetPROCFGif you have moved your configuration file from the directory where you installed OpenEdge.PROCFG=$DLC/products.cfgPROCONV The filename (or full pathname) of the OpenEdgeconvmap.cpfile. Theconvmap.cpfile is a binary file that contains all of the conversion tables that are available to OpenEdge. The default value is$DLC/convmap.cp. See OpenEdge Development: Internationalizing Applications for more information on theconvmap.cpfile.PROCONV=$DLC/convmap.cpPROEXE The pathname of your OpenEdge executable file. The default value is$DLC/bin/_progres. If you move_progresout of$DLC/bin, rename_progres, or use the OEBuild utility to generate a customized module, setPROEXEappropriately (or modify your scripts).PROEXE=$DLC/bin/_progresPROLOAD The pathname of the directory where you installed theOEBUILDproduct, if you installed it. The default value is$DLC/oebuild. For example, if you installedOEBUILDin the directory/vol1/devdir/load, use the code example.PROLOAD=/voll/devdir/loadPROMSGS The full pathname of your OpenEdge run-time messages file. The default value is$DLC/promsgs. For example, if you want to use the German run-time messages file, use the code example in your profile. You only set thePROMSGSenvironment variable if you want to use a run-time messages file different from the defaultPROMSGSfile in the$DLCdirectory.PROMSGS=$DLC/prolang/ger/
promsgs.gerPROPATH A list of directories OpenEdge searches to find procedures.
OpenEdge AppServer and OpenEdge WebSpeed use thePROPATHproperty in$DLC/properties/ubroker.properties.
Otherwise, by default, OpenEdge searches:
1.$DLC/tty2.$DLC3.$DLC/binUse the following syntax to set thePROPATHenvironment variable:
PROPATH=[:]{dir-name|$env-var}(:...)
Where:
:
Tells OpenEdge to search your working
directory before searching any other
directories.dir-nameSpecifies the name of a directory that you
want OpenEdge to search.env-varSpecifies the environment variable whose
definition names one or more directories
that you want to search.
(:...)
Separates multipledir-nameorenv-var.;Ends the definition of thePROPATHenvironment variable and indicates the
start of a new command.PROPATH=:persapp:$DLCPROSRV The pathname of your executablePROSERVEfile. The default value is$DLC/bin/_mprosrv. ThePROSERVEscript includes the code example. Therefore, if you move_mprosrvout of$DLC/bin, rename_mprosrv, or use theOEBuildutility to create a customized module, setPROSRVappropriately (or modify your proserve script).PROSRV=$DLC/bin/_mprosrvPROSTARTUP The pathname of the OpenEdge default startup parameter file,startup.pf. This file is read by all OpenEdge modules at startup; it must exist for OpenEdge to execute properly.PROSTARTUP=$DLC/startup.pfPROTERMCAP The full pathname of the terminal definition file that you want your OpenEdge session to use. The default terminal definition file is calledPROTERMCAPand is installed by default in the/$DLCdirectory. You only have to set thePROTERMCAPenvironment variable if you want to use a different terminal definition file from the defaultPROTERMCAPfile.PROTERMCAP=$DLC/SPECIALCAPTERM The type of terminal you are using. For example, to define your terminal type as wy75, use the code example.TERM=wy75JDKHOME Establishes the top-level directory for the Java Developer’s Kit (JDK).Note: When you first execute on OpenEdge command or utility that requires Java, OpenEdge correctly sets the Java environment variables based on your version of UNIX.JDKHOME=$DLC/jdkJREHOME Establishes the top-level directory for the Java Runtime Environment (JRE).JREHOME=$DLC/jreJFCHOME Establishes the top level directory for the Java Foundation Classes (JFC).JFCHOME=$DLC/jfcJFCCP Sets the classpath for Java Foundation Classes (JFC) only.JFCCP=$JFCHOME/swingall.jarCLASSPATH OpenEdge correctly sets the appropriate classpath variable based on the platform in use.CLASSPATH=$JDKCP:$JFCCP:$PROGRESSCPJIT Sets the just-in-time compiler correctly.JIT="-nojit"JVMEXE Sets the Java Virtual Machine to run correctly.JVMEXE=jre
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |